package com.it.beanfactory;

import org.springframework.beans.factory.support.DefaultListableBeanFactory;
import org.springframework.beans.factory.xml.XmlBeanDefinitionReader;
import org.springframework.beans.factory.xml.XmlBeanFactory;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.core.io.ClassPathResource;

public class BeanFactoryTest {
    public static void main(String[] args) {
        XmlBeanFactory xmlBeanFactory = new XmlBeanFactory(new ClassPathResource("bean.xml"));
        Object person = xmlBeanFactory.getBean("person");
        DefaultListableBeanFactory defaultListableBeanFactory = new DefaultListableBeanFactory();

//        new XmlBeanDefinitionReader();
//        new DefaultListableBeanFactory()

    }
}
